package com.ctshk.rpc.airexpress.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 机场快线策略类 DTO类
 * </p>
 *
 * @author 胡广
 * @since 2021-02-07
 */
@Data
@ApiModel(value = "AirportExpressIncreaseStrategyReq对象", description = "机场快线策略Req")
public class AirportExpressIncreaseStrategySaveReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message = "机场快线ID列表不能为空")
    @ApiModelProperty(value = "机场快线ID")
    private List<Long> airportExpressIdList;

    @Valid
    @NotEmpty(message = "加幅策略列表不能为空")
    @ApiModelProperty("加幅策略列表")
    private List<AirportExpressIncreaseStrategyReq> airportExpressIncreaseStrategyList;
}
